package com.xaicode.auth.entity;

import com.xaicode.auth.base.BaseEntity;
import com.xaicode.auth.constant.EnableEnum;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典信息
 * 
 * @date 2024/12/6
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_dict")
public class SysDict extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 字典Key
     */
    private String dictKey;

    /**
     * 状态
     *
     * @see EnableEnum#ENABLE
     * @see EnableEnum#DISABLE
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

}
